from framework import *
from networkFramework import *


def main():
    configData = getGWConfig()
    host = configData['host']
    port = configData['port'] 
        
    gateway = gatewayReciver(port)
    while True:
        gateway.data = gateway.recData()
        if gateway.data:
            print data
        else:
            pass

if __name__ == "__main__":
    main()